ModuleInfo "Name: sedm.ois"
ModuleInfo "Description: Wrapper for OIS (Open Input System)"
ModuleInfo "Licence: OIS License"
ModuleInfo "Author: Jens [bruZard] Henschel"
import brl.blitz
import "bOIS.lib"
createInputManager@*(hWnd%)S="createInputManager@4"
createKeyboardHandler@*(inputmanager@*)S="createKeyboardHandler@4"
createMouseHandler@*(inpputmanager@*,windowWidth%,windowHeight%)S="createMouseHandler@12"
captureKeyboard%(keyboardhandler@*)S="captureKeyboard@4"
captureMouse%(MouseHandler@*)S="captureMouse@4"
isKeyDown@(keyboardhandler@*,keycode%)S="isKeyDown@8"
isMouseDown@(MouseHandler@*,button%)S="isMouseDown@8"
getRelMouseX%(MouseHandler@*)S="getRelMouseX@4"
getRelMouseY%(MouseHandler@*)S="getRelMouseY@4"
getAbsMouseX%(MouseHandler@*)S="getAbsMouseX@4"
getAbsMouseY%(MouseHandler@*)S="getAbsMouseY@4"
TOIS^brl.blitz.Object{
.inputhandler@*&
.mouse@*&
.keyb@*&
-New%()="_sedm_ois_TOIS_New"
+Init:TOIS(hWnd%,windowWidth%,windowHeight%)="_sedm_ois_TOIS_Init"
-Update%()="_sedm_ois_TOIS_Update"
-KeyDown@(keycode%)="_sedm_ois_TOIS_KeyDown"
-MouseDown@(button%)="_sedm_ois_TOIS_MouseDown"
-MouseX%()="_sedm_ois_TOIS_MouseX"
-MouseY%()="_sedm_ois_TOIS_MouseY"
-MouseXSpeed%()="_sedm_ois_TOIS_MouseXSpeed"
-MouseYSpeed%()="_sedm_ois_TOIS_MouseYSpeed"
}="sedm_ois_TOIS"
